package com.cda.mall.service;

import com.cda.mall.entity.ShoppingCart;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cda.mall.vo.ResultVO;

/**
 * <p>
 * 购物车  服务类
 * </p>
 *
 * @author cda
 * @since 2021-11-13
 */
public interface IShoppingCartService extends IService<ShoppingCart> {

    public ResultVO addShoppingCart(ShoppingCart cart);

    public ResultVO listShoppingCartsByUserId(int userId);

    public ResultVO updateCartNum(int cartId,int cartNum);

    public ResultVO listShoppingCartsByCids(String cids);
}
